@bg-color: #2e477e;
@border-color: #40589B;
//@box-bg-color: #293D76;
//@bg-dark: #2e477e;
@select-color: #1a2e5f;
.obs {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
.spinFull{
  position: fixed;
  width: 100%;
  height: 100%;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
  &Preview {
    flex: 1 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    margin: 20px 0;

    .preview {
      width: 50%;
      height: 100%;
      position: absolute;
    }
  }

  &Setting {
    //flex: 1 1 260px;
    height: 290px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    border-top: 1px solid @border-color;

    &Box {
      flex: 1;
      display: flex;
      flex-direction: column;
      height: 100%;
      background-color: @bg-color;
      border-right: 1px solid @border-color;
      border-bottom: 1px solid @border-color;

      &:first-child {
        border-left: none;
        //.obsSettingBoxTop{
        //  border-right: none;
        //  border-left: none;
        //}
      }

      &:nth-child(4) {
        /* 样式 */
        flex: 0 1 300px;
      }

      &:nth-child(5) {
        /* 样式 */
        flex: 0 1 300px;

        .obsSettingBoxSelect {
          :global(.ant-space-compact) {
            :global(.ant-btn) {
              &:first-child {
                border-top: none !important;
                border-left: none !important;
              }

              &:last-child {
                border-left: none !important;
                border-bottom: none !important;
              }
            }

          }
        }
      }

      &Top {
        width: 100%;
        text-align: center;
        height: 30px;
        line-height: 30px;
        background-color: @bg-color;
        border-bottom: 1px solid @border-color;
      }

      &Select {
        width: 100%;
        flex: 1;
        overflow-y: auto;

        > div {
          width: 100%;

          .rowsItem {
            background-color: @bg-color;
            color: #fff;
            display: flex;
            justify-content: flex-start;
            cursor: pointer;
            border: 1px solid transparent;

            &:hover {
              background-color: @select-color !important;
            }

            .sourceName {
              flex: 1 0 auto;
            }

            &.select {
              background-color: @select-color;
              border: 1px solid @border-color;
            }
          }

          button {
            border-radius: 0;
          }
        }
      }

      &Oprate {
        height: auto;
        flex: 0 0 auto;
        background-color: @bg-color;
        border-top: 1px solid @border-color;

        &:last-child {
          border-bottom: none;
        }

        :global(.anticon) {
          font-size: 28px;

          border-bottom: none;
        }
      }
    }
  }

}

.recordButton {
  display: flex;
  justify-content: center;
}

.recordButton:not(:disabled):hover {
  color: #ffec3d !important;
}

.flex {
  display: flex;
  flex-direction: row;

  &-row {
    display: flex;
    flex-direction: row;
  }

  &-col {
    display: flex;
    flex-direction: column;
  }
}
